home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / dvglue10.arc / DVP.H < prev    next >
Text File  |  1988-08-13  |  3KB  |  73 lines

  1. /*-------------------------------------------------------*/
  2. /* format of .DVP file (superset of TopView .PIF file)   */
  3.  
  4. typedef struct
  5.    {
  6.    BYTE unknown0 ;            /* I see 0 always */
  7.    BYTE checksum ;            /* makes sum of bytes of .PIF file equal zero */
  8.    char program_name[30] ;    /* blank-padded */
  9.    WORD max_memory ;          /* in K */
  10.    WORD min_memory ;          /* in K */
  11.    char executable_name[64] ; /* blank-padded */
  12.    BYTE data_drive ;          /* 0 = default, else drive letter ('A',...) */
  13.    char data_directory[64] ;  /* ASCIZ */
  14.    char parameters[64] ;      /* ASCIZ */
  15.    BYTE video_mode ;          /* 7Fh = use current */
  16.    BYTE num_text_pages ;
  17.    BYTE lowest_int ;          /* number of lowest interrupt program changes */
  18.    BYTE highest_int ;         /* number of highest interrupt program changes */
  19.    BYTE max_win_height ;
  20.    BYTE max_win_width ;
  21.    BYTE starting_row ;        /* 0 = use default */
  22.    BYTE starting_col ;        /* 0 = use default */
  23.    WORD total_overhead_RAM ;  /* how many K to allocate for system RAM */
  24.                               /* (= requested + amt needed for screen buffer) */
  25.    char shared_program[64] ;  /* ASCIZ */
  26.    char shared_prg_data[64] ; /* ASCIZ */
  27.    BYTE flags1 ;              /* bit 7 = set if writes directly to screen */
  28.                               /* bit 6 = set if runs only in foreground */
  29.                               /* bit 5 = set if uses math coprocessor */
  30.                               /* bit 4 = set if "Keyboard Conflict" = 4 */
  31.                               /* bit 3 = set if */
  32.                               /* bit 2 = set if */
  33.                               /* bit 1 = set if */
  34.                               /* bit 0 = set if can be swapped out */
  35.    BYTE flags1a ;             /* bit 6 = set if command line present */
  36.  
  37. /* everything up to this point is identical to a TopView .PIF file */
  38. /* the remainder is unique to a DESQview .DVP file.  Note that there */
  39. /* is some duplication of information */
  40.  
  41.    char open_keys[2] ;
  42.    WORD script_buffer_size ;  /* in bytes */
  43.    BYTE flags2 ;              /* bit 7 =  */
  44.                               /* bit 2 = set if "Writes directly..." = '!' */
  45.    BYTE unknown176h ;
  46.    BYTE uses_own_colors ;     /* 1 = yes,  0 = no */
  47.    BYTE unknown178h ;
  48.    BYTE unknown179h ;
  49.    BYTE unknown17Ah ;
  50.    BYTE unknown17Bh ;
  51.    BYTE close_on_exit ;       /* 1 = close on exit, 0 = don't */
  52.    BYTE unknown17Dh ;
  53.    BYTE unknown17Eh ;
  54.    BYTE unknown17Fh ;
  55.    BYTE starting_height ;     /* 0 = use default */
  56.    BYTE starting_width ;      /* 0 = use default */
  57.    WORD max_expanded_mem ;    /* in K, FFFFh = no limit */
  58.    BYTE flags3 ;              /* bit 7 =  */
  59.                               /* bit 6 =  */
  60.                               /* bit 5 =  */
  61.                               /* bit 4 = 1 don't allow close window cmd */
  62.                               /* bit 3 = set if "Runs only in fg" = ' ' */
  63.                               /* bit 2 =  */
  64.                               /* bit 1 =  */
  65.                               /* bit 0 =  */
  66.    BYTE keyboard_conflict ;   /* 0 thru 4 */
  67.    BYTE num_graphics_pages ;
  68.    WORD system_RAM ;          /* amount of SYSTEM RAM requested, in K */
  69.    BYTE initial_video_mode ;  /* FFh = use current mode if compatible */
  70.    BYTE reserved[22] ;        /* currently unused */
  71.    } DVP_file ;
  72.  
  73.